package com.hbnu.service;

import com.hbnu.domain.Adobe;
import com.hbnu.domain.Book;

import java.util.List;

/**
 * @version: 1.0
 * @ClassName: BookService
 * @Description: TODO
 * @Author: 86132
 * @Date: 2025/11/12 13:43
 */
public interface BookService {
    //预约民宿
    void book(Book book);

    //查看用户预约
    List<Book> listByUserId(Integer userId);

    //删除预约
    void deleteById(Integer id);

    //查询预约
    Book searchById(Integer id);
}
